<template>

  <view class="member-user-box">
    <view class="user-search pd15">
      <u-search :show-action="false" @search="handleSearch" v-model="keywords" placeholder="请输入人员名称"
        :clearabled="true"></u-search>
    </view>
    <view class="user-newly  bafff">
      <view class="user-cont">
        <image class="user-avtor" src="@/static/interflow/bl-add.png"></image>
      </view>
      <view class="user-cont" @click="handleRemove">
        <image class="user-avtor" src="@/static/interflow/bl-mous.png"></image>
      </view>
    </view>
    <view class="user-tips">
      <text>版主</text>
    </view>
    <view class="user-list-box">
      <view class="list">
        <view class="list-left">
          <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
          <view class="user-name"> <text>张三</text></view>
        </view>
        <view class="list-right">
          <image mode="heightFix" @click="handleThemeEssenceShow(item, index)" src="@/static/interflow/bl-slh.png" />
        </view>
      </view>
      <view class="list">
        <view class="list-left">
          <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
          <view class="user-name"> <text>张三</text></view>
        </view>
        <view class="list-right">
          <image mode="heightFix" @click="handleThemeEssenceShow(item, index)" src="@/static/interflow/bl-slh.png" />
        </view>
      </view>
      <view class="list">
        <view class="list-left">
          <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
          <view class="user-name"> <text>张三</text></view>
        </view>
        <view class="list-right">
          <image mode="heightFix" @click="handleThemeEssenceShow(item, index)" src="@/static/interflow/bl-slh.png" />
        </view>
      </view>
      <view class="list">
        <view class="list-left">
          <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
          <view class="user-name"> <text>张三</text></view>
        </view>
        <view class="list-right">
          <image mode="heightFix" @click="handleThemeEssenceShow(item, index)" src="@/static/interflow/bl-slh.png" />
        </view>
      </view>
      <view class="list">
        <view class="list-left">
          <image class="user-avtor" src="@/static/interflow/avtor.png"></image>
          <view class="user-name"> <text>张三</text></view>
        </view>
        <view class="list-right">
          <image mode="heightFix" @click="handleThemeEssenceShow(item, index)" src="@/static/interflow/bl-slh.png" />
        </view>
      </view>
    </view>
    <view class="user-tips">
      <text>管理员</text>
    </view>
  </view>
</template>

<script>
  export default {
    components: {

    },
    data() {
      return {
        keywords: "",
        systemInfo: {},
        boundingHeight: "",
        bottomPadding: "",
        screenHeight: ""

      };
    },
    //下拉刷新
    onPullDownRefresh() {

    },
    created() {


    },

    onLoad() {
      this.getHeight()
      uni.setNavigationBarTitle({
        title: '成员'
      });
    },
    async onShow() {

    },
    async mounted() {

    },

    methods: {
      handleSearch() {

      },
      getHeight() {
        let boundingHeight = uni.getMenuButtonBoundingClientRect();
        this.boundingHeight = boundingHeight.height;
        uni.getSystemInfo({
          success: res => {
            this.systemInfo = res;
            this.bottomPadding = (res.screenHeight - res.safeArea.bottom) || 20;
            this.screenHeight = res.screenHeight;
            console.log(this.systemInfo, " this.systemInfo")
          }
        });
      },



    },
  };
</script>

<style lang="scss">
  .member-user-box {
    background: #f6f7f9;
    min-height: 100vh;
    width: 100vw;

    .user-search {
      margin-top: 20px;
      background: #fff;
      padding-bottom: 10px;
    }

    .user-newly {
      padding: 10px 15px;
      display: flex;
      margin-top: 10px;

      .user-cont {
        image {
          height: 40px;
          width: 40px;
          margin-top: 5px;
          border-radius: 5px;
          margin-right: 10px;
        }
      }
    }

    .user-tips {
      padding: 10px 15px;
    }

    .user-list-box {

      background: #fff;
      padding: 15px;

      .list {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
      }

      .list-left {
        image {
          width: 40px;
          height: 40px;
          border-radius: 5px;
        }

        display: flex;
        align-items: center;
      }

      .list-right {
        image {
          height: 20px;
        }
      }
    }

  }
</style>s